package indigo6a.train.algorithm.graph;

public class GraphAdjList {
    private int numVertexes;
    private VNode[] vertexes;

    public VNode[] getVertexes() {
        return vertexes;
    }

    public void setVertexes(VNode[] vertexes) {
        this.vertexes = vertexes;
    }

    public int getNumVertexes() {
        return numVertexes;
    }

    public void setNumVertexes(int numVertexes) {
        this.numVertexes = numVertexes;
    }

    public GraphAdjList(int numVertexes, VNode[] vertexes) {
        this.numVertexes = numVertexes;
        this.vertexes = vertexes;
    }
}
